package router

import (
	"github.com/gin-gonic/gin"
	"zg4zk2/common/token"
)

func RouterLoad(r *gin.Engine) {
	r.POST("/login", Login)
	r.POST("/sendSms", SendSms)
	r.Use(token.JWTAuth("2209a"))
}
